package com.test;

import com.sun.org.apache.bcel.internal.generic.NEW;
import jdk.nashorn.internal.codegen.CompilerConstants;

/**
 * Time    : 2023/3/22 21:34
 * Author  : 王摇摆
 * FileName: Ipad.java
 * Software: IntelliJ IDEA 2020.2.2
 * Blog    ：https://blog.csdn.net/weixin_44943389?type=blog
 */

public class Ipad implements Touchable, MessagePromptable, Callable {
    //生产一部iPad
    private StandardTouch toucher = new StandardTouch();
    private StandardPrompt prompter = new StandardPrompt();
    private StandradCall caller = new StandradCall();

    @Override
    public void touch() {
        toucher.touch();
    }


    @Override
    public void Prompt() {
        prompter.Prompt();
    }

    @Override
    public void call() {
        caller.call();
    }


}